import { PORT1 } from "@/api/config/servicePort.ts";
import http from "@/api";
import { UserMap } from "@/api/interface/index";

export const mapList = () => {
  return http.postBody<UserMap.EquipmentMapVo>(PORT1 + `/map/manage/list`, {}, { loading: false });
};

export const mapReplace = params => {
  return http.postBody<any>(PORT1 + `/map/manage/replace`, params, { loading: false });
};
